package com.aspose.cells;

class zafh {
   int a;
   int b;
   int c;
   int d;
   int e;
   int f;
   long g;
   long h;
   long i;
   int j;
   long k;
   int l;

   zafh() {
      this.a = 33;
      this.b = 3;
      this.c = 9;
      this.d = 6;
      this.h = 4096L;
   }

   zafh(com.aspose.cells.b.a.d.za var1) throws Exception {
      long var2 = var1.s();
      if (var2 != -2226271756974174256L) {
         throw new IllegalStateException("This is not a structured storage file.");
      } else {
         var1.g(16);
         this.a = var1.p();
         this.b = var1.p();
         if ((this.b & '\uffff') > 3) {
            throw new UnsupportedOperationException("This structured storage version is not supported.");
         } else {
            var1.p();
            this.c = var1.p();
            this.d = var1.p();
            var1.p();
            var1.r();
            this.e = var1.q();
            this.f = var1.q();
            this.g = var1.r();
            var1.r();
            this.h = var1.r();
            this.i = var1.r();
            this.j = var1.q();
            this.k = var1.r();
            this.l = var1.q();
         }
      }
   }

   void a(com.aspose.cells.b.a.d.zb var1) throws Exception {
      var1.b(-2226271756974174256L);
      var1.a(new byte[16]);
      var1.a(this.a & '\uffff');
      var1.a(this.b & '\uffff');
      var1.a((int)65534);
      var1.a(this.c & '\uffff');
      var1.a(this.d & '\uffff');
      var1.a((short)0);
      var1.b(0);
      var1.b(this.e);
      var1.b(this.f);
      var1.a(this.g & 4294967295L);
      var1.b(0);
      var1.a(this.h & 4294967295L);
      var1.a(this.i & 4294967295L);
      var1.b(this.j);
      var1.a(this.k & 4294967295L);
      var1.b(this.l);
   }

   boolean a(long var1) {
      return var1 >= (this.h & 4294967295L);
   }

   int a() {
      return this.j * 512;
   }
}
